package com.zc.portal.iface.repository;

import com.zc.portal.domain.dto.SysUrlPattenAttribute;
import org.springframework.security.access.ConfigAttribute;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface UrlPattenAttributeRepositroy {

    public static final String NAME_SPACE = "com.zc.portal.iface.repository.UrlPattenAttributeRepositroy.";

    List<SysUrlPattenAttribute> queryUrlPattenAttributes();

    Map<String, Set<ConfigAttribute>> getUrlConfigAttributeMap();

    @Transactional
    int addUrlConfigAttribute(SysUrlPattenAttribute urlPattenAttribute);

}
